Ext.define("Moodle.store.Course", {
    extend: "Ext.data.Store",
    requires: "Ext.data.proxy.LocalStorage",
    config: {
        model: "Moodle.model.Course",
        autoLoad : true,
        autoSync: true,
        proxy: {
            type: 'localstorage',
            id: 'moodle-store-course'
        }
    }
});